package com.sailors.common.task.provider.application.event.event;

import com.sailors.common.task.provider.domian.model.entity.FileTaskEntity;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;


/**
 * File task create event
 *
 * @description:
 * @author: cyj
 * @date 2022 -11-23 14:22:32
 */
@Getter
public class FileTaskCreateEvent extends ApplicationEvent {


    /**
     * File task entity
     */
    private FileTaskEntity fileTaskEntity;

    /**
     * File task create event
     *
     * @param fileTaskEntity sign in save dto
     */
    public FileTaskCreateEvent(FileTaskEntity fileTaskEntity) {
        super(fileTaskEntity);
        this.fileTaskEntity = fileTaskEntity;
    }
}
